﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Contact_Info.ascx.cs" Inherits="AdminPortal_Controls_HeThong_Contact_Info" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register src="../Toolbox.ascx" tagname="Toolbox" tagprefix="uc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<span style="color:Red;font-style:italic;font-size:11px;margin-bottom:5px;display:block;"><asp:Label ID="lblthongbao" runat="server" Text=""></asp:Label></span>
<div id="HNGdatagridInfo">
    <div class="header-datagrid">
        <span class="icon-edit header-text">
                <asp:Label ID="lblTitle" runat="server" Text="Danh sách lên hệ"></asp:Label>
        </span>
    </div>
    <div class="navibar-control">
            <uc1:Toolbox ID="Toolbox1" runat="server" ShowSave="true" OnSaveClick="btnSave_Click"
                                                      ShowDel="true" OnDelClick="btnDel_Click"
                                                      ShowApply="true" OnApplyClick="btnApply_Click"
                                                      ShowRefesh="true" ShowBack="true" OnBackClick="btnBack_Click"
                                                        />        
        <div class="clearB"></div>
    </div>
    <div class="content-main"> 
        <table cellpadding="0" cellspacing="0" width="100%" class="tableEditInfo">
            <tr>
                <td width="120" class="itemTableLeft">ID</td>
                <td class="itemTableRight">
                    <asp:TextBox ID="txtID" runat="server" Width="50px" Enabled="false"></asp:TextBox>
                    <asp:HiddenField ID="hidID" runat="server" />
                </td>
            </tr>   
            <tr>
                <td class="itemTableLeft" width="130">Người gửi: </td>
                <td align="left" class="itemTableRight">
                    <asp:TextBox ID="txtNguoiGui" runat="server" Width="400"  class="easyui-validatebox" required="true" >
                    </asp:TextBox>         
                </td>
            </tr>  
            <tr>
                <td class="itemTableLeft" width="130">Tiêu đề: </td>
                <td align="left" class="itemTableRight">
                    <asp:TextBox ID="txtTieude" runat="server" Width="400">
                    </asp:TextBox>         
                </td>
            </tr> 
            <tr>
                <td class="itemTableLeft" >Email </td>
                <td align="left" class="itemTableRight">
                    <asp:TextBox ID="txtEmail" runat="server" Width="400"  class="easyui-validatebox" required="true" >
                    </asp:TextBox> </td>
            </tr>
            <tr>
                <td class="itemTableLeft" valign="top">Điện thoại :</td>
                <td align="left" class="itemTableRight">
                    <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox> 
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtPhone"
                                            Display="Dynamic" ErrorMessage="số không hợp lệ" 
                        ValidationExpression="^\d+$" Font-Size="12px"></asp:RegularExpressionValidator>
                    </td>
            </tr>                                                 
            <tr>
                <td class="itemTableLeft" valign="top"> Ngày gửi: </td>
                <td align="left" class="itemTableRight">                                
                    <asp:TextBox ID="txtNgayGui" runat="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="txtBirthDay_CalendarExtender" runat="server" 
                        TargetControlID="txtNgayGui" Format="MM/dd/yyyy">
                    </cc1:CalendarExtender>
                </td>
            </tr> 
            <tr>
                <td class="itemTableLeft">Mô tả:</td>
                <td align="left" class="itemTableRight">
                     <hng:FCKeditor ID="fckMota" runat="server" BasePath = "~/AdminPortal/fckeditor/" Width = "100%" Height = "250" ToolbarSet="Default">
                                        </hng:FCKeditor>  
                </td>
            </tr>             
        </table>              
    </div>
</div>